<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateReExpertesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('re_expertes', function (Blueprint $table) {
            $table->increments('id');
            $table->string('expertes_name',20)->comment('专家名称')->charset('utf8');
            $table->string('expertes_buscard',50)->comment('专家名片')->charset('utf8');
            $table->string('experts_img',100)->commment('专家头像 图片')->charset('utf8');
            $table->string('experts_video',100)->comment('专家视频地址')->charset('utf8');
            $table->string('experts_title',50)->comment('专辑课程标题')->charset('utf8');
            $table->string('experts_dgst',200)->comment('专家简介')->charset('utf8');
            $table->integer('experts_type')->comment('猜你喜欢  所属类型');

            $table->timestamps();
        });


    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('re_expertes');
    }
}
